package com.hmall.trade.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "hm.trade")
public class TradeProperties {

    /**
     * 订单自动取消的时间，毫秒
     * */
    private Integer orderCancelMill;
    private List<Integer> delayMillis;
}